package com.lumberer.pay2021.wx.init.config;
/**
 * 所有微信对外请求的链接地址
 * @author lumberer
 * @date 20210922
 *
 */
public class RequestURL {
	/**
	 * 获取证书路径
	 */
	public final static String CERTIFICATES="https://api.mch.weixin.qq.com/v3/certificates";
	/*****************************公共请求地址开始************************************/
	//微信订单号查询订单
	public final static String JSAPI_SEARCH_WX_ORDER="https://api.mch.weixin.qq.com/v3/pay/transactions/id/";//{transaction_id}
	//商户订单号查询订单
	public final static String JSAPI_SEARCH_ORDER="https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/";//{out_trade_no}
	//关闭订单
	public final static String JSAPI_CLOSE_ORDER="https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/";//{out_trade_no}/close
	
		/**************************退款流程***************************************/
		//JSAPI退款
		//申请退款
		public final static String REFUNDS_REFUND="https://api.mch.weixin.qq.com/v3/refund/domestic/refunds";
		//查询单笔退款
		public final static String REFUNDS_DOMESTIC="https://api.mch.weixin.qq.com/v3/refund/domestic/refunds/";//{out_refund_no}
	
		/***************************退款流程**************************************/
	
	//申请交易账单
	public final static String JSAPI_TRADEBILL="https://api.mch.weixin.qq.com/v3/bill/tradebill";
	//申请资金账单
	public final static String JSAPI_FUNDFLOWBILL="https://api.mch.weixin.qq.com/v3/bill/fundflowbill";
	/*****************************公共请求地址结束************************************/
		
	/*****************************JSAPI请求地址开始************************************/
	
	/*******************************支付交易流程**********************************/
	//JSAPI支付
	public final static String JSAPI = "https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi";

	/******************************* 支付交易流程 **********************************/

	/******************************* JSAPI请求地址结束 **********************************/
	/***************************** APP支付请求地址开始 ************************************/
	// APP支付
	public final static String APP = "https://api.mch.weixin.qq.com/v3/pay/transactions/app";
	// H5支付
	public final static String H5 = "https://api.mch.weixin.qq.com/v3/pay/transactions/h5";
	/***************************** 扫码支付请求地址 ************************************/
	// 扫码支付
	public final static String NATIVE="https://api.mch.weixin.qq.com/v3/pay/transactions/native";
	/*****************************扫码支付请求地址************************************/
	//小程序JSAPI支付
	public final static String MP_JSAPI="https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi";
	//合单支付--多个订单
	public final static String COMBINE="https://api.mch.weixin.qq.com/v3/combine-transactions/app";
}
